package com.ferry.lock.engine.zookeeper.menagerie;

import org.apache.zookeeper.KeeperException;
import org.apache.zookeeper.ZooKeeper;

/**
 * Created by daiyong
 */
public interface ZKCommand<T> {
	public T execute(ZooKeeper zk) throws KeeperException,InterruptedException;
}
